﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Peninsula.DataAccess.POCO
{
    [Table("SiteFile")]
    public partial class SiteFile :BaseEntity
    {
        [Required]
        [StringLength(500)]
        [Display(Name = "路径")]
        public string Path { get; set; }

        [StringLength(200)]
        [Display(Name = "文件的标题")]
        public string Title { get; set; }

        [Display(Name = "文件的描述")]
        public string Description { get; set; }

        [Display(Name = "文件类型")]
        public SiteFileType Type { get; set; }
    }
}
